//
//  ILView.m
//  时尚男士
//
//  Created by dlios on 15-6-6.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "ILView.h"

@implementation ILView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        CGFloat height = self.frame.size.height;
        CGFloat width = self.frame.size.width;
        self.DetailImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, width, height - 20)];
        [self addSubview:_DetailImageView];
        [_DetailImageView release];
        
        self.DetailLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, height - 20, width, height)];
        [self addSubview:_DetailLabel];
        [_DetailLabel release];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
